<?php 

class Crud_Config extends Config implements ISingleton
{
	protected $_path = '/config/crud.ini';
	
	/**
	 * @var Config
	 */
	protected static $_instance;	
	
	/**
	 * @return Crud_Config
	 */
	public static function getInstance()
	{
		if (!self::$_instance) {
			self::$_instance = new self();
		}

		return self::$_instance;
	}
	
	/**
	 * Return all config parameters.
	 * 
	 * @return Zend_Config
	 */
	public function getConfig()
	{
		return $this->_config;
	}
}
